package com.linsir.camunda;

import org.camunda.bpm.engine.identity.*;
import org.camunda.bpm.engine.impl.identity.ReadOnlyIdentityProvider;
import org.camunda.bpm.engine.impl.interceptor.CommandContext;

/**
 * @ProjectName:linsir-lin
 * @Package:com.linsir.camunda
 * @Title: LinReadOnlyIdentityProvider
 * @Description: camunda自定义用户体系
 * @Create:2021/6/28 23:26 by @author:Linsir
 * @Update:2021/6/28 23:26 by @author:Linsir
 * @UpdateRemark: 初始创建
 * @Version: 1.0.0
 */
public class LinReadOnlyIdentityProvider implements ReadOnlyIdentityProvider {

    /**
     * id 为用户名，并非数据库id
     * @param id
     * @return
     */
    @Override
    public User findUserById(String id) {
        return null;
    }

    @Override
    public UserQuery createUserQuery() {
        return null;
    }

    @Override
    public UserQuery createUserQuery(CommandContext commandContext) {
        return null;
    }

    @Override
    public NativeUserQuery createNativeUserQuery() {
        return null;
    }

    @Override
    public boolean checkPassword(String s, String s1) {
        return false;
    }

    @Override
    public Group findGroupById(String s) {
        return null;
    }

    @Override
    public GroupQuery createGroupQuery() {
        return null;
    }

    @Override
    public GroupQuery createGroupQuery(CommandContext commandContext) {
        return null;
    }

    @Override
    public Tenant findTenantById(String s) {
        return null;
    }

    @Override
    public TenantQuery createTenantQuery() {
        return null;
    }

    @Override
    public TenantQuery createTenantQuery(CommandContext commandContext) {
        return null;
    }

    @Override
    public void flush() {

    }

    @Override
    public void close() {

    }
}
